import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner num = new Scanner(System.in);
        while(num.hasNextInt()){
            double a = num.nextDouble();
            double b = num.nextDouble();
            double c = num.nextDouble();
            if(a == 0.0){
                System.out.println("Not quadratic equation");
            } else{
                double x1 = 0;
                double x2 = 0;
                double delta = b*b-4*a*c;
                if(delta == 0.0){
                    System.out.printf("%.3f"+"x1=x2="+(-b/(2*a)));
                } else if(delta > 0.0){
                    delta = Math.sqrt(delta);
                    x1 = (-b+delta)/(2*a);
                    x2 = (-b-delta)/(2*a);
                }
            }
        }
    }
}